{*
 *
 * Copyright (c) 2004-2005 OIC Group, Inc.
 *
 * This file is part of Exponent
 *
 * Exponent is free software; you can redistribute
 * it and/or modify it under the terms of the GNU
 * General Public License as published by the Free
 * Software Foundation; either version 2 of the
 * License, or (at your option) any later version.
 *
 * Exponent is distributed in the hope that it
 * will be useful, but WITHOUT ANY WARRANTY;
 * without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR
 * PURPOSE.  See the GNU General Public License
 * for more details.
 *
 * You should have received a copy of the GNU
 * General Public License along with Exponent; if
 * not, write to:
 *
 * Free Software Foundation, Inc.,
 * 59 Temple Place,
 * Suite 330,
 * Boston, MA 02111-1307  USA
 *
 * $Id: _viewlisting.tpl,v 1.3 2005/02/19 16:53:36 filetreefrog Exp $
 *}
<script type="text/javascript" language="javascript" src="{$smarty.const.THEME_RELATIVE}lytebox.js"></script>
<div class="listingmodule viewlisting">
	<h1>{$listing->name}</h1>
	<div class="bodycopy">
		{* link action=view_listing id=$listing->id *}
		<table border=0>
		<tr><td>
				<a {if $listing->picpath != ""} href='{$listing->picpath}' rel="lytebox" {/if} >
					<img class="listingimage" src={if $listing->picpath != ""} "{$listing->picpath}" width=100  {else} "{$smarty.const.THEME_RELATIVE}../common/images/icons/not_available.jpeg" {/if}border=0 />
				</a>
		</td>
		<td>
		        	<div class="bodycopy" >	{$listing->body}</div>
					{if count($listing->musics) > 0 }
					<div style="font-size: 12px; font-weight: bold; color: #4F5159; padding-top: 10px;">Các bài hát thuộc tác giả
					{assign var=musics value=$listing->musics}
						{include file=`$smarty.const.BASE`modules/musicsmodule/views/_list_music.tpl}
					
					</div>
					{/if}
		</td></tr></table>	
		</div>
</div>
